projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cdc5d4
)
Try Wayland before X11
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 10 Aug 2013 00:50:57 +0000
(20:50 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 10 Aug 2013 00:50:57 +0000
(20:50 -0400)
When both the Wayland and the X11 backends are built, prefer
Wayland over X11 in the absence of other information.
https://bugzilla.gnome.org/show_bug.cgi?id=705498
gdk/gdkdisplaymanager.c
patch
|
blob
|
history
diff --git
a/gdk/gdkdisplaymanager.c
b/gdk/gdkdisplaymanager.c
index 94f857eb52f255e866c7b6246ceba0a28e2640ee..075f507b04bce1bebc8da148cd65370a0fe9eba6 100644
(file)
--- a/
gdk/gdkdisplaymanager.c
+++ b/
gdk/gdkdisplaymanager.c
@@
-267,12
+267,12
@@
static GdkBackend gdk_backends[] = {
#ifdef GDK_WINDOWING_WIN32
{ "win32", _gdk_win32_display_open },
#endif
-#ifdef GDK_WINDOWING_X11
- { "x11", _gdk_x11_display_open },
-#endif
#ifdef GDK_WINDOWING_WAYLAND
{ "wayland", _gdk_wayland_display_open },
#endif
+#ifdef GDK_WINDOWING_X11
+ { "x11", _gdk_x11_display_open },
+#endif
#ifdef GDK_WINDOWING_BROADWAY
{ "broadway", _gdk_broadway_display_open },
#endif